package cn.lazyturtle.bugpush.constant;

import lombok.Getter;

/**
 *
 * @author cwh
 * @since 1.0.0
 */
@Getter
public enum CommonResponseEnum {

    /**
     * 请求成功
     */
    SUCCESS("200", "请求成功"),
    /**
     * 操作成功
     */
    OPERATE_SUCCESS("200", "操作成功"),
    /**
     * 请求成功
     */
    SYSTEM_BUSY("300", "系统繁忙"),
    /**
     * 请求失败
     */
    FAIL("400","请求失败"),
    /**
     * 请求失败2
     */
    NO_DATA("400","暂无数据"),

    ;
    CommonResponseEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    private final String code;
    private final String message;

}

